Skip to main content

Select seats

POST 

/baskets/:id/products/:productId/ticketing/select-seats

Select seats (both automatic and manual selection mode) for the given ticketed event.

Request

Path Parameters

    id stringrequired

    The id of the basket

    productId stringrequired

    The product id of the ticketed event that tickets are being purchased for.

Header Parameters

    x-api-key stringrequired

    The API key for the given store

Body

required

Select seats automatically by setting rates, or manually by setting seats

    rates object[]

    Populate this field to try and find seats automatically based on the criteria.

  • Array [
  • rateId stringrequired

    The id of the rate to find seats for.

    quantity int32required

    The number of seats to attempt to add to the basket

  • ]
  • seats object[]

    Populate this field to add specific seats to the basket.

  • Array [
  • rateId stringrequired

    The rate at which the seat will be purchased at.

    seatId stringrequired

    The id of the seat to add to the basket. This is the provider's own id.

  • ]

Responses

This is an asynchronous operation. Upon completion, the basket must be refetched.

Schema
    notificationId stringrequired

    The id of a notification that represents this asynchronous request. OneBasket will be processing the request in the background, and upon completion this notification will be updated with the result.

Loading...